import { herinRequist } from "../http.js";
const Identify = {
	identifyField() {
		return herinRequist({ url: '/pc/field', method: 'GET'});
	},
	identifyFieldDetail(id) {
		return herinRequist({ url: '/pc/field-detail', method: 'GET',data: { id }});
	},
	identifyWorkDetail(id) {
		return herinRequist({ url: '/pc/work-detail', method: 'GET' ,data: { id }});
	},
	identifyJob() {
		return herinRequist({ url: '/pc/job', method: 'GET'});
	},
	identifyJobDetail(id) {
		return herinRequist({ url: '/pc/job-detail', method: 'GET',data: { id }});
	},
	identifyPerson(id) {
		return herinRequist({ url: '/pc/person-job-detail', method: 'GET',data: { id }});
	},
	getExamDetail(id) {
		return herinRequist({ url: '/pc/exam-detail', method: 'GET',data: { id }});
	},
	postExamAnswer(data){
		return herinRequist({ url: '/pc/exam-answer', method: 'POST',data, contentType:'application/json'});
	}
}

export default Identify;
